module.exports = {
	"devtool":"source-map",
	entry: './js/entry.js',
	output: {
		filename: './bundle.js',
	},
	module: {
		loaders: [
				{
					test:/\.css$/,
					loader:'style-loader!css-loader'
				},
				{
					test:/\.less$/,
					loader:'style-loader!css-loader!less-loader'
				},
				{
					test:/\.(jpg|png|gif|svg|jpeg)$/,
					loader:'file-loader',
					query:{
						name:'image/[name]-[hash:5].[ext]'
					}
				},
				{
					test:/\.js$/,
					loader:'babel-loader',
					exclude:/node_modules/,
					query:{
						presets:['es2015']
					}
				}

			]
		
	}

}